package com.zodiac.app.szse;

import lombok.Getter;

import java.util.List;

@Getter
public class FinancialDataExtractException extends RuntimeException {
    private FinancialType type;
    private List<String> content;

    public FinancialDataExtractException(FinancialType type, List<String> content) {
        this.type = type;
        this.content = content;
    }

    public FinancialDataExtractException(String message, FinancialType type, List<String> content) {
        super(message);
        this.type = type;
        this.content = content;
    }

    public FinancialDataExtractException(String message, Throwable cause, FinancialType type, List<String> content) {
        super(message, cause);
        this.type = type;
        this.content = content;
    }

    public FinancialDataExtractException(Throwable cause, FinancialType type, List<String> content) {
        super(cause);
        this.type = type;
        this.content = content;
    }

    public FinancialDataExtractException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, FinancialType type, List<String> content) {
        super(message, cause, enableSuppression, writableStackTrace);
        this.type = type;
        this.content = content;
    }
}